IMPORT.RUN Function

Syntax

Code_Text as C = import.run(C layoutname [,L silent [,L show_Xbasic [,* arguments ]]])

Arguments

Code_Text

The Xbasic code that was run performing the operation.

layoutname

The name of a previously created import operation.

silent

Optional. Default = .F. .T. = No user interaction. .F. = User interaction.

show_Xbasic

Optional. Default = .F.

arguments

*

Description

Runs an Import operation

Discussion

The IMPORT.RUN() method imports data using a previously defined import operation. Note : If you specify an optional filter argument, the filter is applied in addition to any filter that may have been defined as Part of the Operation. (You can check to see if a filter is defined as Part of an Operation by editing the saved operation, and selecting the "Select records" menu item.) If the Silent flag is set to .T., then Alpha Anywhere does not display any confirmation dialog boxes before running the operation.

The following example runs the saved Customer Import operation.

import.run("Customer Import", .t., .f.)

Limitations

Desktop applications only.

See Also